﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace AiQiuQuan.Sport.WebApi
{
    /// <summary>
    /// api base controller
    /// </summary>
    [ApiController]
    [Authorize(AuthenticationSchemes = "Bearer")]
    [Route("v2/[controller]/")]
    public class ApiController : ControllerBase
    {
    }

    /// <summary>
    /// pc api controller
    /// </summary>
    [ApiController]
    [Authorize(AuthenticationSchemes = "PcAuth")]
    [Route("v2/[controller]/")]
    public class PcApiController : ControllerBase
    {

    }
}
